﻿using System;

namespace RAP.Framework.Libary.DomTemplateBuilder.Attributes
{
  /// <summary>
  /// 
  /// </summary>
  public class TagHandlerAttribute : Attribute
  {
    public TagHandlerAttribute(string tagName, Type handlerType)
    {
      this.TagName = tagName;
      this.HandlerType = handlerType;
    }

    public TagHandlerAttribute(Type handlerType)
    {
      this.HandlerType = handlerType;
    }

    /// <summary>
    /// 
    /// </summary>
    public string TagName { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public Type HandlerType { get; set; }
  }
}
